package cn.itcast.service;

import cn.itcast.dto.OrdersDto;
import cn.itcast.entity.Orders;
import cn.itcast.entity.Page;

public interface IOrderService {
    void submit(Orders orders, Long idFromSession);

    Page<Orders> page(Integer page, Integer pageSize, String number, String beginTime, String endTime);

    Page<OrdersDto> userPage(Integer page, Integer pageSize, Long idFromSession);
}
